Merge pull request #38 from jlec/jlec-master
authorSteven G. Johnson <stevenj@mit.edu>
Sat, 30 May 2015 13:21:32 +0000 (09:21 -0400)
committerSteven G. Johnson <stevenj@mit.edu>
Sat, 30 May 2015 13:21:32 +0000 (09:21 -0400)
Enhance build process

1  2 
Makefile

diff --cc Makefile
index e738d0798a5abb3d7f579f880d3f33dba3500508,d2b272ff17137a21e9ffd06d9908814b883b5360..a8b0094cca0031c825412ef413c4fe6e02a1a2e7
+++ b/Makefile
@@@ -94,27 -96,18 +96,27 @@@ data/GraphemeBreakTest.txt
        $(MAKE) -C data GraphemeBreakTest.txt
  
  test/normtest: test/normtest.c utf8proc.o utf8proc.h test/tests.h
-       $(cc) test/normtest.c utf8proc.o -o $@
+       $(CC) test/normtest.c utf8proc.o -o $@
  
  test/graphemetest: test/graphemetest.c utf8proc.o utf8proc.h test/tests.h
-       $(cc) test/graphemetest.c utf8proc.o -o $@
+       $(CC) test/graphemetest.c utf8proc.o -o $@
  
  test/printproperty: test/printproperty.c utf8proc.o utf8proc.h test/tests.h
-       $(cc) test/printproperty.c utf8proc.o -o $@
+       $(CC) test/printproperty.c utf8proc.o -o $@
  
  test/charwidth: test/charwidth.c utf8proc.o utf8proc.h test/tests.h
-       $(cc) test/charwidth.c utf8proc.o -o $@
+       $(CC) test/charwidth.c utf8proc.o -o $@
  
 -check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/charwidth bench/bench.c bench/util.c bench/util.h utf8proc.o
 +test/valid: test/valid.c utf8proc.o utf8proc.h test/tests.h
 +      $(cc) test/valid.c utf8proc.o -o $@
 +
 +test/iterate: test/iterate.c utf8proc.o utf8proc.h test/tests.h
 +      $(cc) test/iterate.c utf8proc.o -o $@
 +
 +test/case: test/case.c utf8proc.o utf8proc.h test/tests.h
 +      $(cc) test/case.c utf8proc.o -o $@
 +
 +check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/case test/charwidth test/valid test/iterate bench/bench.c bench/util.c bench/util.h utf8proc.o
        $(MAKE) -C bench
        test/normtest data/NormalizationTest.txt
        test/graphemetest data/GraphemeBreakTest.txt